<?php
namespace ThirdPartyAuthorizeBundle\thirdPartyAuthorize\common;
/**
 * Created by PhpStorm.
 * User: Alex
 * DateTime: 18-9-7下午2:24
 */
class HttpTool
{
    /**
     * 得到当前的URL
     *
     * @return string
     */
    public static function getCurrentUrl()
    {
        return 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    }
}